<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Gfycat Resurrected</title>

    <link rel="stylesheet" href="popup.css" />
    <script src="popup.js" defer></script>
  </head>
  <body>
    <!-- Header -->
    <header class="section">
      <img class="header-logo" src="/images/icon.png" alt="logo" />
      <h2 class="header-text">Gfycat Resurrected</h2>
    </header>
    <div class="hr"></div>
    <!-- Main -->
    <main class="section">
      <!-- Redirect to video -->
      <div class="input">
        <input type="checkbox" id="redirect-input" />
        <label for="redirect-input">Redirect directly to a video</label>
      </div>
      <br />
      <!-- Handle strategy -->
      <form id="handleStrategyForm">
        <p class="form-title">Navigation handling strategy</p>
        <label>
          <input type="radio" name="strategyOption" value="onBeforeNavigate" />
          onBeforeNavigate
        </label>
        <label>
          <input type="radio" name="strategyOption" value="onErrorOccurred" />
          onErrorOccurred
        </label>
      </form>
    </main>
    <div class="hr"></div>
    <!-- Footer -->
    <footer class="section">
      <a href="https://notabug.org/boiledpotato23" target="_blank">Author</a>
      <a
        href="https://notabug.org/boiledpotato23/gfycat-resurrected"
        target="_blank"
      >
        Source Code
      </a>
    </footer>
  </body>
</html>
